<?php
class cart{
	private $user_id;
	private $pro_id;
	private $amount;
	private $time;
	// set get user_id
	public function setuser_id($user_id) {
		$this->user_id = $user_id;
	}
	public function getuser_id() {
		return $this->user_id;
	}
	// set get pro_id
	public function setpro_id($pro_id) {
		$this->pro_id = $pro_id;
	}
	public function getpro_id() {
		return $this->pro_id;
	}
	// set get amount
	public function setamount($amount) {
		$this->amount = $amount;
	}
	public function getamount() {
		return $this->amount;
	}
	// set get time
	public function settime($time) {
		$this->time = $time;
	}
	public function gettime() {
		return $this->time;
	}
}

?>